import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";
import InviteView from "../views/InviteView.vue";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "Invite",
    component: InviteView,
  },
  {
    path: "/login",
    name: "Login",
    component: () =>  import('../views/LoginView.vue'),
  },
  {
    path: "/info",
    name: "Info",
    component: () =>  import('../views/InfoView.vue'),
  },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
